
(function (window, $, undefined) {
  'use strict';

  main(function () {

    $('#addOne, #addTwo, #addThree, #addFour, #addFive').click(function () {
      var $this = $(this)
      console.log($this[0].name)
      addComments($this[0].name);
    })

    function addComments(starInfo) {
      var ret = ''

      ret += '<div class="row form-row form-row-sm"><div class=" form-inline"><input class="form-control" name="conmments"><button class="btn btn-default btn-del" type="button">保存</button></div></div>'

      $('#' + starInfo).append(ret)

    }

    function loadComments(data ,starInfo) {
      var ret = ''

      ret += ''

      $('#' + starInfo).html(ret)
    }

  });
})(window, jQuery);
